package com.gzsxy.esjy.redis.user;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.List;
import java.util.Map;

/**
 * @author xiaolong
 * @version 1.0
 * @description: TODO
 * @date 2021/10/19 15:02
 */
public interface ISystemUser {

    public String getUserName();

    public String getUserAccout();



    public List<String> getRoles();

    public Object get(String key, Object defValue);

    public <T> T get(String key, Class<T> clazz);

    public String getToken();

    @JsonIgnore
    public Map<String, Object> getUserInfoMap();

}
